<?php
    /**
     * Created by PhpStorm.
     * User: zgh
     * Date: 2021-07-30
     * Time: 16:39
     */

    namespace app\common\model;


    use think\Model;

    class NewsModel extends Model
    {
        protected $autoWriteTimestamp = true;

        const tableName = 'news';

        public static function getMagicTableName()
        {
            return '__' . strtoupper(self::tableName) . '__';
       }



    }